package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 【商城用户】对象 mp_client_friends
 * 
 * @author ruoyi
 * @date 2022-07-22
 */
@ApiModel(value = "MpClientFriends",description = "【商城用户】对象 mp_client_friends")
public class MpClientFriends extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户及下级好友关系表主键 */
    private Long id;

    /** 用户ID */
    @ApiModelProperty(value="用户ID",name="MpClientFriends$clienId")
    @Excel(name = "用户ID")
    private Long clienId;

    /** 主用户ID */
    @ApiModelProperty(value="主用户ID",name="MpClientFriends$pClientId")
    @Excel(name = "主用户ID")
    private Long pClientId;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClienId(Long clienId) 
    {
        this.clienId = clienId;
    }

    public Long getClienId() 
    {
        return clienId;
    }
    public void setpClientId(Long pClientId) 
    {
        this.pClientId = pClientId;
    }

    public Long getpClientId() 
    {
        return pClientId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clienId", getClienId())
            .append("pClientId", getpClientId())
            .toString();
    }
}
